// 仿真资源统计
export interface SimResStaticsData {
  sim_config_count: number
}
// 统计
export interface CountStaticsData {
  all: number
}
// 统计
export interface GameStaticsData extends CountStaticsData {
  // 目标检测仿真场景数
  static: number
  // 博弈仿真场景数
  dynamic: number
}
// 仿真场景数
export interface SimSceneStaticsData {
  game_count: number
}
// 任务统计
export interface TaskStaticsData {
  total: number
  statics: {
    CREATED: number // 已创建任务数
    RUNNING: number // 正在运行任务数
    FINISHED: number // 已完成任务数
    ERROR: number // 运行错误任务数
    STOPPED: number // 已停止任务数
  }
}
// 智能体资源统计
export interface AgentStaticsData {
  total: number
  statics: {
    [propName: string]: number
  }
}

export type SimResStaticsResData = ApiResponseData<SimResStaticsData>
export type CountStaticsResData = ApiResponseData<CountStaticsData>
export type GameStaticsResData = ApiResponseData<GameStaticsData>
export type TaskStaticsResData = ApiResponseData<TaskStaticsData>
export type AgentStaticsResData = ApiResponseData<AgentStaticsData>
